package com.letian.record.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.letian.common.annotation.Excel;
import com.letian.common.core.domain.BaseEntity;

/**
 * 记录发型对象 record_haircut
 * 
 * @author bmz
 * @date 2023-05-15
 */
public class RecordHaircut extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编码 */
    private Long haircutId;

    /** 发型名称 */
    @Excel(name = "发型名称")
    private String hairStyleName;

    /** 发型图片 */
    @Excel(name = "发型图片")
    private String hairStyleImage;

    /** 理发时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "理发时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date haircutTime;

    /** 发廊地点 */
    @Excel(name = "发廊地点")
    private String address;

    /** 理发师 */
    @Excel(name = "理发师")
    private String tony;

    /** 删除标志 */
    @Excel(name = "删除标志")
    private String delFlag;

    /** 更新次数 */
    @Excel(name = "更新次数")
    private Long updateCount;

    public void setHaircutId(Long haircutId) 
    {
        this.haircutId = haircutId;
    }

    public Long getHaircutId() 
    {
        return haircutId;
    }
    public void setHairStyleName(String hairStyleName) 
    {
        this.hairStyleName = hairStyleName;
    }

    public String getHairStyleName() 
    {
        return hairStyleName;
    }
    public void setHairStyleImage(String hairStyleImage) 
    {
        this.hairStyleImage = hairStyleImage;
    }

    public String getHairStyleImage() 
    {
        return hairStyleImage;
    }
    public void setHaircutTime(Date haircutTime) 
    {
        this.haircutTime = haircutTime;
    }

    public Date getHaircutTime() 
    {
        return haircutTime;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setTony(String tony) 
    {
        this.tony = tony;
    }

    public String getTony() 
    {
        return tony;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setUpdateCount(Long updateCount) 
    {
        this.updateCount = updateCount;
    }

    public Long getUpdateCount() 
    {
        return updateCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("haircutId", getHaircutId())
            .append("hairStyleName", getHairStyleName())
            .append("hairStyleImage", getHairStyleImage())
            .append("haircutTime", getHaircutTime())
            .append("address", getAddress())
            .append("tony", getTony())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("updateCount", getUpdateCount())
            .append("remark", getRemark())
            .toString();
    }
}
